DIN#.INV
Description
Sets or gets the polarity of a digital input.
Value |
Description |
---|---|
0 – Active High | The digital input state is 1 when voltage is applied to the I/O pin |
1 – Active Low | The digital input state is 1 when voltage is removed from the I/O pin |
Examples
Code
With 24V on DIN1:
--> DIN1.INV 0 //Active High
--> DIN1.STATE 1 --> DIN1.INV 1 //Active low --> DIN1.STATE 0
With 0V on DIN1:
--> DIN1.INV 0 //Active High
--> DIN1.STATE 0 --> DIN1.INV 1 //Active low --> DIN1.STATE 1
Context
For more information see Digital Inputs and Outputs.
Versions
Action | Version | Notes |
---|---|---|
Implemented | 02-00-00-000 |
General Information
Type | Read/Write |
Units | N/A |
Range | 0 to 1 |
Default Value | 0 (Active high) |
Data Type | Integer |
See Also | |
Stored in Non-Volatile Memory |
Yes |
Variants Supported
All variants are supported.
Fieldbus Information
Command |
Index |
SubIndex |
Data Type |
Units |
Float Scale |
Access |
PDO Mappable |
---|---|---|---|---|---|---|---|
DIN1.INV |
3590h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DIN2.INV |
3591h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DIN3.INV |
3592h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DIN4.INV |
3593h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DIN5.INV |
3594h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DIN6.INV |
3595h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DIN7.INV |
3596h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DIN8.INV |
3597h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DIN9.INV |
3598h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DIN10.INV |
3599h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DIN11.INV |
359ah |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DIN12.INV |
359bh |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
Name |
ID |
Hex |
Data Type |
Access |
Units |
---|---|---|---|---|---|
DIN1.INV |
20050 |
4E52 |
Unsigned8 |
Read/Write |
- |
DIN2.INV |
20051 |
4E53 |
Unsigned8 |
Read/Write |
- |
DIN3.INV |
20052 |
4E54 |
Unsigned8 |
Read/Write |
- |
DIN4.INV |
20053 |
4E55 |
Unsigned8 |
Read/Write |
- |
DIN5.INV |
20054 |
4E56 |
Unsigned8 |
Read/Write |
- |
DIN6.INV |
20055 |
4E57 |
Unsigned8 |
Read/Write |
- |
DIN7.INV |
20056 |
4E58 |
Unsigned8 |
Read/Write |
- |
DIN8.INV |
20057 |
4E59 |
Unsigned8 |
Read/Write |
- |
DIN9.INV |
20058 |
4E5A |
Unsigned8 |
Read/Write |
- |
DIN10.INV |
20059 |
4E5B |
Unsigned8 |
Read/Write |
- |
DIN11.INV |
20060 |
4E5C |
Unsigned8 |
Read/Write |
- |
DIN12.INV |
20061 |
4E5D |
Unsigned8 |
Read/Write |
- |
Parameter |
PNU |
Data Type |
Access |
Units |
---|---|---|---|---|
DIN1.INV |
20050 |
Unsigned8 |
Read/Write |
- |
DIN2.INV |
20051 |
Unsigned8 |
Read/Write |
- |
DIN3.INV |
20052 |
Unsigned8 |
Read/Write |
- |
DIN4.INV |
20053 |
Unsigned8 |
Read/Write |
- |
DIN5.INV |
20054 |
Unsigned8 |
Read/Write |
- |
DIN6.INV |
20055 |
Unsigned8 |
Read/Write |
- |
DIN7.INV |
20056 |
Unsigned8 |
Read/Write |
- |
DIN8.INV |
20057 |
Unsigned8 |
Read/Write |
- |
DIN9.INV |
20058 |
Unsigned8 |
Read/Write |
- |
DIN10.INV |
20059 |
Unsigned8 |
Read/Write |
- |
DIN11.INV |
20060 |
Unsigned8 |
Read/Write |
- |
DIN12.INV |
20061 |
Unsigned8 |
Read/Write |
- |